/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.curso.java.VO;

import java.io.Serializable;
import java.util.List;
import javax.persistence.CascadeType;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.annotations.ManyToAny;


@Entity
@Table(name = "usuario")
public class UsuarioVO  implements Serializable {
    private static final long serialVersionUID = -4969328588154523299L;

	@Id
	@GeneratedValue
	private Integer codigo;

	@Column(unique = true)
	private String usuario;
        
    @Column()
	private String	senha;

	public Integer getCodigo() {
		return codigo;
	}

	public void setCodigo(Integer codigo) {
		this.codigo = codigo;
	}

	public String getUsuario() {
		return usuario;
	}

	public void setUsuario(String usuario) {
		this.usuario = usuario;
	}

	public String getSenha() {
		return senha;
	}

	public void setSenha(String senha) {
		this.senha = senha;
	}   	
}